.ant-select.ant-select-single {

  .ant-select-selector {
    height: 28px;
    display: flex;
    align-items: center;

    .ant-select-selection-placeholder,
    .ant-select-selection-item {
      height: 28px;
      line-height: 28px;
    }

    .ant-select-selection-placeholder {
      color: rgba(74, 87, 116, 0.4);
    }

    .ant-select-selection-item {
      color: #35425E;

    }

    .ant-select-selection-search-input {
      height: 28px;

    }
  }
}

.ant-select-multiple {
  .ant-select-selection-search {
    margin-top: 1px;
    margin-bottom: 1px;
  }

  .ant-select-selection-item-content {
    margin-right: 6px;
    color: #35425E !important;
    
  }

  .ant-select-selection-item {
    background: #EDF0F5;
    border-radius: 10px;
    height: 20px;
    line-height: 20px;
    padding: 0 8px 0 8px;
    border-color: transparent;
    display: flex;
    align-items: center;
    &:hover {
      background: #E5F0FF;
    }
  }

  .ant-select-selection-item-remove {
    vertical-align: middle;
    .anticon {
      vertical-align: middle;

      svg {
        height: 10px;
        width: 10px;
      }
    }
  }

  .ant-select-selector {
    padding: 0 4px;

    &:after {
      line-height: 20px;
    }
  }
}

.ant-select-multiple.findfit_select_autoscroll_x {
  .ant-select-selector {
    overflow: hidden;
    flex-wrap: nowrap;

    .ant-select-selection-overflow {
      flex-wrap: nowrap;

      .ant-select-selection-overflow-item {
        height: 24px;
      }
    }

    &:hover {
      overflow-x: auto;
      overflow-y: hidden;
    }
  }
}

.ant-select.findfit_select_gray {
  .ant-select-selector {
    background: #f5f6f8;
    border-color: transparent;
    .ant-select-selection-item {
      color: #35425E;
    }
  }

  &:hover {
    .ant-select-selector {
      background: #EDF0F5;
      border-color: transparent !important;
    }
  }
}

.ant-select.findfit_select_gray.findfint_select_spe_hover_another {
  .ant-select-selector{
    border: 1px solid #f5f6f8;
  }
  
  &:hover {
    .ant-select-selector {
      background: #FFFFFF;
      border:1px solid #6190E0 !important;
    }
  }
}

.ant-select.findfit_select_gray.ant-select-open {
  .ant-select-selector {
    background: #EDF0F5;
    border-color: #6190E0 !important;
  }
}

.ant-select-open.ant-select-single {
  .ant-select-selection-item {
    color: rgba(74, 87, 116, 0.4);
  }
}



.ant-select-dropdown {
  padding: 0;

  .ant-select-item-option-content {
    color: #35425E;
  }

  .ant-select-item-option-selected {
    background-color: #fff;
    color: #1F51A4;

    &:not(.ant-select-item-option-disabled) {
      .ant-select-item-option-state {
        width: 12px;
        height: 12px;
        background: url('../assets/icons/icon-select-checked.png') no-repeat center;
        background-size: 100% auto;
        position: relative;
        top: 4px;

        >.anticon {
          display: none;
        }
      }
    }
  }

  .ant-select-item-option-active {

    &:not(.ant-select-item-option-disabled),
    &:not(.ant-select-item-option-disabled):hover {
      background-color: #E5F0FF;
    }
  }
}

.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input {
  height: 28px;
}

// 改边框色
.ant-select:not(.ant-select-customize-input) .ant-select-selector {
  border: 1px solid #D4D7DD;
}

.ant-select:not(.ant-select-disabled):hover .ant-select-selector,
.ant-select:not(.findfit_select_gray):not(.ant-select-disabled):hover .ant-select-selector,
.ant-select-open.ant-select-focused:not(.ant-select-disabled),
.ant-select-open.ant-select-focused:not(.findfit_select_gray):not(.ant-select-disabled) {
  border-color: #6190E0;
}

.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-open),
.ant-select-focused:not(.findfit_select_gray).ant-select:not(.ant-select-open) {
  .ant-select-selector {
    border-color: #D4D7DD;
  }
}

.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) {
  box-shadow: none;

  .ant-select-selector {
    border-color: #6190E0;
    box-shadow: none;
  }
}

.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input).findfit_select_gray {
  box-shadow: none;

  .ant-select-selector {
    border-color: transparent;
    box-shadow: none;
  }
}

.ant-select-focused.ant-select-open:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input).findfit_select_gray {
  .ant-select-selector {
    border-color: #6190E0;
    background: #fff;
  }
}

.ant-select.ant-select-disabled.ant-select-single {
  .ant-select-selector {
    background-color: #F9F9F9 !important;
  }
}

.ant-select.ant-select-disabled.ant-select-multiple {
  .ant-select-selector {
    background-color: #F9F9F9 !important;
    border-color: #D4D7DD;

    .ant-select-selection-item {
      color: #4a577466;
      border-color: transparent;
      background: #E7E9EE !important;
    }
  }
}

.ant-select-disabled {

  .ant-select-selector .ant-select-selection-item,
  .ant-select-arrow {
    opacity: 0.4 !important;
  }
}

.findfit_select.findfit_select_spe {
  .ant-select-selector {
    padding-left: 100px !important;
    position: relative;

    &:after {
      content: "1";
      line-height: 26px;
      display: block;
      font-size: 13px;
      color: #1F51A4;
      z-index: 1;
      visibility: initial;
      opacity: 0;
    }

    &:before {
      display: block;
      content: "";
      position: absolute;
      top: 6px;
      left: 12px;
      width: 14px;
      height: 14px;
      visibility: initial;
      background-position: center;
      background-size: 100% auto;
      background-repeat: no-repeat;
      background-image: url('./../assets/icons/icon-edit.png');
    }

    .ant-select-selection-search {
      &::before {
        display: block;
        content: "";
        position: absolute;
        left: 79px;
        top: 6px;
        height: 16px;
        width: 1px;
        background: #D4D7DD;
      }

      &:after {
        position: absolute;
        content: "\8c03\6574\53c2\6570";
        top: 0;
        left: 20px;
        line-height: 27px;
        width: 60px;
        display: block;
        font-size: 13px;
        color: #1F51A4;
        z-index: 1;
        visibility: initial;
      }
    }
  }
}

.findfit_select.findfit_select_spe.findfit_select_noparams,
.findfit_select.findfit_select_spe.findfit_select_noselected {
  .ant-select-selector {
    .ant-select-selection-search {
      &:after {
        color: rgba(74, 87, 116, 0.4);
      }
    }

    &:before {
      background-image: url('../assets/icons/icon-edit-disabled.png');
    }
  }
}

.findfit_select_comb_content {
  position: relative;
  display: inline;

  .findfit_select_comb_icon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: block;
    width: 90px;
    height: 28px;
    cursor: pointer;
  }

  .select_quota_item_name {
    display: block;
    position: absolute;
    top: 0;
    left: 105px;
    z-index: 3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 125px;
    white-space: nowrap;
    line-height: 20px;
    color: #35425E;
  }

  .select_quota_item_selected+.ant-select {
    .ant-select-selection-item {
      opacity: 0;
    }
  }

  .ant-select-selection-search-input {
    padding-left: 90px !important;
  }

  .ant-select-selection-search {
    z-index: 4;
  }
}

.findfit_select_custom.ant-select-multiple {
  .ant-select-selector {
    .ant-select-selection-item-remove {
      vertical-align: initial;
    }
  }

  .ant-select-selection-overflow {
    overflow-x: hidden;
    overflow-y: clip;

    &:hover {
      overflow-x: auto;
    }

    .ant-select-selection-overflow-item:not(.ant-select-selection-overflow-item-suffix) {
      max-width: none;

      .ant-select-selection-item {
        overflow-x: visible;
        background: transparent;
        height: inherit;
        line-height: inherit;
        padding: 0;
        margin: 0;
        margin-top: 1px;

        .ant-select-selection-item-content {
          margin: 0;
          overflow: visible;
          text-overflow: initial;
          color: #35425E !important;
        }

        .findfit_select_custom_item {
          display: inline-block;
          background: #edf0f5;
          border-radius: 10px;
          margin-right: 4px;
          padding-left: 8px;
          padding-right: 8px;
        }
      }
    }
  }
}

.ant-select-tree-switcher {
  .ant-select-tree-switcher-icon {
    vertical-align: -0.2em !important;
  }
}

.ant-select-dropdown {
  .ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
    background-color: #e5f0ff;
  }

  .ant-select-tree-title {
    color: #35425e;
  }

  .ant-select-tree-node-content-wrapper {
    white-space: nowrap;
  }
}

.ant-select-dropdown .ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
  background-color: #e5f0ff !important;
}

.ant-select-tree .ant-select-tree-node-content-wrapper:hover {
  background-color: #e5f0ff !important;
}

.ant-tree-select {
  .ant-select-selector {
    height: 28px;


  }
}

.ant-select-selection-overflow {
  flex-wrap: nowrap;
  height: 26px;
  overflow: hidden;

  &:hover {
    overflow-x: auto;
  }
}
.ant-select{
  font-size: 13px;
}

.ant-select-dropdown{
  font-size: 13px;
  .ant-select-item{
    font-size: 13px;
  }
}

.findfit_icon_arrow {
  display: inline-block;
  position: relative;
  width: 0;
  height: 0;
  top: 1px;
  border-top: 6px solid #35425E;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
}
.select_option.ant-select-dropdown {
  width: 64px;

  .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state {
    top: 0px;
  }
}